package org.example.service;

import com.baomidou.mybatisplus.extension.service.IService;
import org.example.model.SleepRecord;
import org.example.model.request.SleepRecordRequest;
import org.example.model.response.SleepRecordVO;

import java.util.List;

public interface SleepRecordService extends IService<SleepRecord> {

    /**
     * 上传睡眠记录
     * @param sleepRecordRequest
     * @return
     */
    String uploadSleep(SleepRecordRequest sleepRecordRequest);

    List<SleepRecordVO> getNowWeekSleepReport(Boolean moreFlag);
}
